//
//  AppBaseRequest.h
//  littleVideoGo
//
//  Created by WeiWei on 2018/8/9.
//  Copyright © 2018年 Liu. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^Success)(NSURLSessionDataTask *task, id _Nullable responseObject);
typedef void (^Failure)(NSURLSessionDataTask * _Nullable task, NSError *error);

@interface AppBaseRequest : NSObject

+ (void)POSTWithParameters:(NSDictionary *)parameters success:(Success)success failure:(Failure)failure;
+ (void)GETWithParameters:(NSDictionary *)parameters success:(Success)success failure:(Failure)failure;

@end

